#!/bin/bash
#1.hostname
hostnamectl set-hostname shuimin
#2.epel
cat<< EOF >/etc/yum.repos.d/epel.repo
[epel]
name=epel
baseurl=http://dl.fedoraproject.org/pub/epel/7/x86_64
gpgcheck=0
enabled=1
EOF
#3.xwindow
yum -y groupinstall "X Window system"
#4.xfce
yum -y groupinstall "Xfce"
#5.gnome-terminal
yum -y install gnome-terminal
#6.fonts
yum -y install cjkuni*
#7.wget
yum -y install wget
#8.jdk8
yum -y install git
#9.maven
wget http://apache.fayea.com/apache-mirror/maven/maven-3/3.2.3/binaries/apache-maven-3.2.3-bin.tar.gz
tar -zxf apache-maven-3.2.3-bin.tar.gz
ln -s /opt/apache-maven-3.2.3/bin/mvn /usr/bin/mvn
